package tn.bergaoui.openwebapp.dao;

/**
 * 
 */
import java.util.List;

import tn.bergaoui.openwebapp.beans.BaseBean;

public interface IGenericDao<T extends BaseBean> {
	List<T> select();

	T selectById(Long id);

	T save(T entity);

	void remove(T entity);

	List<T> search(Object... params);
}
